<template>
    <van-steps
        :active="2"
        active-icon="success"
        active-color="#38f"
    >
        <van-step v-for="(item,index) in data.options.options" :key="index">{{ item.value }}</van-step>
    </van-steps>

</template>
<script>
import { Step, Steps } from 'vant'
export default {
    name: 'BaseStep',
    components: {
        [Step.name]: Step,
        [Steps.name]: Steps
    },
    props: {
        data: {
            type: Object
        }
    }
}
</script>
